package com.baox.agridata.synchronous.service.impl;


import com.baox.agridata.synchronous.dao.TCCPBMapper;
import com.baox.agridata.synchronous.entity.TCCPBEntity;
import com.baox.agridata.synchronous.service.TCCPBService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TCCPBServiceImpl implements TCCPBService {

    @Autowired
    private TCCPBMapper tccpbMapper;


    @Override
    public Integer insertIntoTCCPB(TCCPBEntity tccpbEntity) {
        return tccpbMapper.insertIntoTCCPB(tccpbEntity);
    }

    @Override
    public Integer batchInsertIntoTCCPB(List<TCCPBEntity> list) {
        return tccpbMapper.batchInsertIntoTCCPB(list);
    }

    @Override
    public Integer updateTCCPBById(TCCPBEntity tccpbEntity) {
        return tccpbMapper.updateTCCPBById(tccpbEntity);
    }

    @Override
    public TCCPBEntity checkTCCPBIsExist(String mid) {
        return tccpbMapper.checkTCCPBIsExist(mid);
    }

    @Override
    public List<TCCPBEntity> selectTCCPBDataToChengDu(String startTime, String endTime) {
        return tccpbMapper.selectTCCPBDataToChengDu(startTime, endTime);
    }

    @Override
    public List<TCCPBEntity> selectProductBLandingFeedback(String startTime) {
        return tccpbMapper.selectProductBLandingFeedback(startTime);
    }
}
